package models

import "github.com/jinzhu/gorm"

type Role struct {
	gorm.Model
	Name string
	SubSystemId int
	Description string
	Users []User `gorm:"many2many:user_roles"`
	Codes []Code `gorm:"foreignkey:roleId"`
}